{include file="public/header" /}
<link rel="stylesheet" href="/static/index/css/refund.css?v=<?php echo time();?>">
<body class="hide-top bgc">
<div class="submit-container">
    <img src="/static/index/img/icon78.png" alt="">
    <div class="submit-content">
        <div class="submit-hd flex-center">
            <i class="layui-icon layui-icon-left"></i>订单详情
        </div>

        <div class="order-det-staute">
            <p class="order-det-status">{$info.friendlyText}</p>
        </div>
        <div class="submit-pro">
            <ul class="submit-refund-form">
                <li class="refund-money">
                    <p>退款总金额<span style="float: right;">￥{$info.real_amount}</span></p>
                </li>
                <li class="refund-money">
                    <p>退回{$info->pay_way}<span style="float: right;">￥{$info.real_amount}</span></p>
                </li>
            </ul>
        </div>
        <div class="submit-pro">
            <h2>退款信息</h2>
            <ul class="submit-pro-list">
                {foreach name="info.productsField" item="vo"}
                <li>
                    <p class="flex-center">
                        <img src="{$vo.icon}" alt="">
                    </p>
                    <div class="center">
                        <p class="multi">{$vo.title}</p>
                        <p class="spec">{$vo.spec}</p>
                    </div>
                    <div class="rgt">
                        <p class="price">￥<span>{$vo.vip_price}</span></p>
                        <p>x{$vo.num}</p>
                    </div>
                </li>
                {/foreach}
            </ul>
        </div>

        <ul class="order-refund-form">
            <li>
                <p class="name">退款类型</p>
                <p>{$info.refund.type==1?"仅退款":"退货退款"}</p>
            </li>
            <li>
                <p class="name">退款原因</p>
                <p>{$info.refund.reason??""}</p>
            </li>
            <li>
                <p class="name">退款金额</p>
                <p>￥{$info.real_amount}</p>
            </li>

            <li>
                <p class="name">申请时间</p>
                <p>{$info.refund.create_time??""}</p>
            </li>
        </ul>
    </div>
</div>
<div class="orderDet-footer">
    {if $info.refund.status == 2 && $info.refund.type==2}
    <p class="flex-center bc edit express">上传物流</p>
    {/if}
</div>

</body>
{include file="public/footer"/}
<script>
    $(".express").click(function () {
        window.location.href = "{:url('order/refund_express')}?id={$info.refund.id}"
    })
</script>
</html>